package com.ucenter.server.user.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ucenter.server.user.pojo.UserInfo;

/**
 * user_info的Dao
 * @author autoCode
 * @date 2018-02-06 15:18:19
 * @version V1.0.0
 */
public interface UserInfoDao {

	public abstract void save(UserInfo userInfo);

	public abstract void update(UserInfo userInfo);

	public abstract void delete(@Param("userId")String userId);

	public abstract UserInfo get(@Param("userId")String userId);

	public abstract List<UserInfo> findUserInfo(UserInfo userInfo);
	
	public abstract int findUserInfoCount(UserInfo userInfo);

	public abstract UserInfo getByUserName(@Param("userName")String userName);
}